package com.example.mybatisdemo.controller;

//import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class MsgConsumer {

//    @RabbitListener(queues = "queue")
    public void receiveMessage(String content) {
        System.out.println("Received message: " + content);
    }
}
